html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#app {
  width: 100%;
  height: 100%;
}

.app-header-container {
  height: 60px;
  width: 100%;
  background: #333;
  color: white;
  display: flex;
  align-items: center;
}

.app-header-item-container {
  padding-left: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 240px;
  user-select: none;
  border-right: 1px solid #666;
}

.app-header-op-button {
  padding-left: 18px;
  padding-right: 18px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 14px;
  user-select: none;
  cursor: pointer;
  border-right: 1px solid #666;
}

.app-header-item-container:not([data-disabled="true"]):hover {
  cursor: pointer;
}

.app-header-item-label {
  font-size: 12px;
  opacity: 0.7;
}

.app-header-item-title {
  font-size: 14px;
  font-weight: 600;
}

.app-body-container {
  width: 100%;
  height: 100%;
  background: #fefefe;
  display: flex;
}

.commits-history-container {
  width: 258px;
  height: 100%;
  border-right: 1px solid #ccc;
  font-size: 14px;
  overflow-y: auto;
  background: #fafafa;
  flex-shrink: 0;
}

.commit-title {
  padding: 12px 18px;
}

.commit-item-container {
  height: 56px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  cursor: pointer;
}

.commit-item-title {
  font-size: 14px;
  font-weight: 600;
}

.commit-item-description {
  font-size: 12px;
  opacity: 0.7;
}

.commit-content-divider {
  width: 100%;
  height: 1px;
  background: #eee;
  margin-top: 12px;
  margin-bottom: 12px;
}

.commit-change-details {
  padding-left: 18px;
  font-size: 14px;
  line-height: 21px;
}

.switch-branch-container {
  position: relative;
}

.switch-branch-panel {
  cursor: default;
  position: absolute;
  background: #fafafa;
  box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 8px;
  top: 100%;
  left: 0;
  width: 100%;
  height: 360px;
  z-index: 100;
}

.new-branch-container {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding-left: 12px;
  padding-right: 12px;
}

.new-branch-container input {
  outline: none;
  font-size: 14px;
  flex: 1;
  flex-basis: 0;
  width: 0;
}

.new-branch-button {
  box-sizing: border-box;
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 12px;
  color: #fff;
  background: #216e39;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.branch-list-container {
  width: 100%;
  height: 328px;
  overflow-y: auto;
}

.branch-item-container {
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  padding: 0px 12px;
  display: flex;
  align-items: center;
  color: #163f70;
  font-size: 14px;
}

.branch-item-container:hover {
  background: #eee;
}

.branch-item-name {
  flex: 1;
}

.branch-item-delete {
  box-sizing: border-box;
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 12px;
  color: #fff;
  background: #8250df;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
}

.commit-content-container {
  flex: 1;
  box-sizing: border-box;
}

.commit-content-title {
  font-size: 18px;
  font-weight: 600;
  margin-top: 12px;
  margin-left: 18px;
  display: flex;
}

.commit-content-description {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 12px;
  margin-left: 18px;
  display: flex;
  align-items: center;
  gap: 32px;
}
